#!/bin/bash

# startup
ssh root@${host} "
  cd ${REMOTE_DIR}/${app}
  # startup.sh

  sh bin/deploy.sh ${app}.war
"
[ $? -eq 0 ] || exit 1